
using Nop.Core.Domain.Common;
using System.Collections.Generic;

namespace Nop.Services.Common
{
    /// <summary>
    /// Flow service
    /// </summary>
    public partial interface IFlowService
    {
        /// <summary>
        /// Gets all Flows
        /// </summary>
        /// <returns>Flow</returns>
        IList<Flow> GetAllFlows();

        /// <summary>
        /// Gets a Flow 
        /// </summary>
        /// <param name="flowId">Flow identifier</param>
        /// <returns>Flow</returns>
        Flow GetFlowById(int flowId);

        /// <summary>
        /// Inserts a Flow
        /// </summary>
        /// <param name="flow">Flow</param>
        void InsertFlow(Flow flow);

        /// <summary>
        /// Updates the Flow
        /// </summary>
        /// <param name="flow">Flow</param>
        void UpdateFlow(Flow flow);

        /// <summary>
        /// Deletes a Flow
        /// </summary>
        /// <param name="Flow">Flow</param>
        void DeleteFlow(Flow flow);
    }
}

